package com.smart.translator.data.api;

import com.smart.translator.data.model.TranslationResponse;
import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface TranslationService {
    @POST("translate")
    Call<TranslationResponse> translate(
        @Query("text") String text,
        @Query("from_lang") String fromLang,
        @Query("to_lang") String toLang
    );
} 